﻿namespace WeWork.Entitys.Send
{
    /// <summary>
    /// 红包消息
    /// </summary>
    public class ChatRedPacket : ChatSend
    {
        public ChatRedPacketDetail redpacket { get; set; }
    }

    public class ChatRedPacketDetail
    {
        /// <summary>
        /// 红包消息类型。1 普通红包、2 拼手气群红包、3 激励群红包。Uint32类型
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 红包祝福语。String类型
        /// </summary>
        public string wish { get; set; } = string.Empty;

        /// <summary>
        /// 红包总个数。Uint32类型
        /// </summary>
        public int totalcnt { get; set; }

        /// <summary>
        /// 红包总金额。Uint32类型，单位为分。
        /// </summary>
        public int totalamount { get; set; }
    }
}
